<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>修改小狗信息</title>
</head>
<body>
<form th:action="@{/updatedog}" method="post">
    <input type="hidden" name="dogId" th:value="${dog.dogId}">
    名字:<input type="text" name="dogName" th:value="${dog.dogName}"/><br/>
    年龄:<input type="number" name="dogAge" th:value="${dog.dogAge}"/><br/>
    性别:<input type="text" name="dogSex" th:value="${dog.dogSex}"/></br>
    品种:<input type="text" name="dogType" th:value="${dog.dogType}"/></br>
    <input type="submit"/>
</form>

</body>
</html>